import request from '@/utils/request'

// 面料查询
export function listInventory(query) {
  return request({
    url: "/md/inventory/list",
    method: "get",
    params: query,
  });
}

// 查询面料型号
export function listFabric(query) {
  return request({
    url: "/md/fabric/list",
    method: "get",
    params: query,
  });
}

// 查询供应商列表
export function vendorList(query) {
  return request({
    url: '/mes/md/vendor/list',
    method: 'get',
    params: query
  })
}